micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[jvm]mapOnAbsent
jvm
map
On
Absent
inline fun <
T
,
R
>
Optional
<
T
>.
mapOnAbsent
(block: () ->
R
):
R
?
Content copied to clipboard
Will call
block
when data presented (
Optional.dataPresented
== true)